<extend name="Public/base" />
	<block name="wrapper">
		<table class="table">
				<tr>
					<h2 ><a href="{:U('Group/add')}">添加组</a></h2>
				</tr>
				<tr>
					<th>编号</th>
					<th>组名</th>
					<th>状态</th>
					<th>操作</th>
				</tr>
			<foreach name="data" item="vo">
				<tr>
					<td>{$vo['id']}</td>
					<td>{$vo['title']}</td>
					<td>{$vo['status']==1 ? '已启用' :'未启用'}</td>
					<td><a href="{:U('Group/edit/',['id'=>$vo['id']])}">修改</a>
					<a href="{:U('Group/delete')}">删除</a>
					<a href="{:U('Group/showrule',['id'=>$vo['id']])}">查看权限</a>
					<a href="{:U('Group/showuser')}">查看组员</a></td>
				</tr>
			</foreach>
		</table>
	</block>